﻿using System;

namespace ATS.Dto;

public interface IHaveSign : IHaveTimestamp
{
    /// <summary>
    /// 签名
    /// </summary>
    string Sign { get; set; }
}

public interface IHaveCientSign : IHaveSign
{
    /// <summary>
    /// 客户端标识
    /// </summary>
    string ClientId { get; set; }
}

public abstract class SignDtoBase : IHaveSign
{
    public string Sign { get; set; }

    public long Timestamp { get; set; }
}

public abstract class ClientSignDtoBase : SignDtoBase, IHaveCientSign
{
    public string ClientId { get; set; }
}
